[IA64] vti domain save/restore: fix stack unwinder
authorAlex Williamson <alex.williamson@hp.com>
Fri, 12 Oct 2007 20:27:51 +0000 (14:27 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Fri, 12 Oct 2007 20:27:51 +0000 (14:27 -0600)
commitb22b572a3a50adff59855c147bcf463bd51ec535
treea926d2ad05c83d1ee20f536dd30f77e77dfc1d0b
parent7e6336dc18a7278000677ea293764c3ea2e432c6
[IA64] vti domain save/restore: fix stack unwinder

fix stack unwinder.
- fix find_save_locs() and unw_unwind().
  instruction pointer check should be suite for xen.
- fix unw_unwind_to_user()
  VTi domain fault handler doesn't always updatevcpu->on_stack so that
  the pUStk check fails. Add more checking to stop winding.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/linux-xen/unwind.c